#!/bin/bash

SERVER_LIST="172.22.32.108 172.22.32.109 172.22.32.110 172.22.32.111 172.22.32.112 172.22.32.113"

for SERVER in ${SERVER_LIST}; do
    echo "current server is $SERVER"
    scp /data/squirrel-scheduler-worker-1.2.war hadoop@${SERVER}:/data/scheduler-worker/apache-tomcat-8.5.33/webapps
done
